﻿using Catastrophe.BasePC.UI.SystemIni;
using Catastrophe.Initialize;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CatastropheDemo.SystemIni
{
    public class CatastropheServer : IServiceIni
    {
        public bool IsRun { get; set; } = true;

        public void ServiceLoad()
        {
            //登录成功以后启动WebApi服务器
            ServiceStart.WebApiStart<StartupEx>();
            //ServiceStart.WebApiStart();
            //登录成功以后启动OPC UA服务器
            //ServiceStart.StartOpcUaService<OpcUaNodeManager>();
        }
    }
}
